package com.jiankang.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.jiankang.dao.HealthFileDao;
import com.jiankang.entity.HealthFile;
import com.jiankang.service.HealthFileService;
import com.jiankang.util.Page;
@Service("HealthFileService")
public class HealthFileServiceImpl implements HealthFileService {
	@Resource
	private HealthFileDao HealthFileDao;
	
	@Override
	public int filesave(HealthFile filesave) {
		// TODO Auto-generated method stub
		return HealthFileDao.filesave(filesave);
	}

	@Override
	public List<HealthFile> searchfile() {
		// TODO Auto-generated method stub
		return HealthFileDao.searchfile();
	}

	@Override
	public long getAllProductCount() {
		// TODO Auto-generated method stub
		return HealthFileDao.getAllProductCount();
	}

	@Override
	public List<HealthFile> getHealthFile(Page page) {
		// TODO Auto-generated method stub
		return HealthFileDao.getHealthFile(page);
	}
}
